package Stack;

import Queue.ArrayQueue;

/**
 * ClassName: Main
 * Package: Array
 *
 * @Author 马学兴
 * @Create 2023/11/30 23:07
 * @Version 1.0
 * Description:
 */
public class Main {
    public static void main(String[] args) {
        ArrayStack<Integer> stack = new ArrayStack<Integer>();
        for (int i = 0; i < 5; i++) {
            stack.push(i);
            System.out.println(stack);
        }
        stack.pop();
        System.out.println(stack);
    }


}
